/**
 * 定义状态实体
 */
(function(window, angular, undefined){
	var Module = angular.module('water.entity.wwtpAttention', ['waterCommon']);
	
	Module.service('$wwtpAttentionService',function($waterDataCommon){
		/**
		 * 获取状态数据
		 * WWTP_ID
		 */
		this.getList = function(data){
			var promise = $waterDataCommon.post("/wwtpAttention/getList",data);
			return promise;
		}
		/**
		 * 新建状态信息
		 */
		this.createModel = function(data){
			var promise = $waterDataCommon.createModel("WWTP_ATTENTION",data);
			return promise;
		}
		/**
		 * 删除状态信息
		 */
		this.deleteModel = function(id){
			var promise = $waterDataCommon.deleteModel("WWTP_ATTENTION",{key:id});
			return promise;
		}
	});
}(window, angular));